package cn.dto;

import cn.dto.common.CommonRequest;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.List;

/**
 * @author tianshq
 * @date 2025/9/12 14:02
 * @description 验证签名
 */
@Data
@Accessors(chain =true)
@ApiModel("验证签名请求报文体")
@ToString
public class VerifyRequest {

    @NotBlank(message = "共同授权信息密文不能为空")
    @Size(max = 256, message = "共同授权信息密文长度不能超过256个字符")
    private String authMsg;
    @NotBlank(message = "共同授权信息不能为空")
    @Size(max = 64, message = "共同授权信息长度不能超过64个字符")
    private String authInfo;

    @NotBlank(message = "钱包ID不能为空")
    @Size(max = 16, message = "钱包ID长度不能超过16个字符")
    private String wltId;

    @NotNull(message = "审批人工号列表不能为空")
    private List<String> authList;

}
